﻿var sp_isRefash = false;
var NodeId = UrlParm.parm('nodeid');
var SetId = UrlParm.parm('setid');
function doing(action, parm) {
   
    if (action == 'close') {     
        window.close();
    }
    else if (action == 'changeNode') {
        NodeId = $("#ddlNodeSel").val();
        frames["contentlist"].location = 'editContentLink_list.aspx?ac=contentlink&nodeid=' + NodeId;
    }
}

function setLoadcontentedit() {
    var _th = $("#msviLocalToolbar").height();
    var _doch = $(document).height();
    $("#contentlist").height(_doch - _th - 10);
}

$(document).ready(function() {

frames["contentlist"].location = 'editContentLink_list.aspx?ac=contentlink&&nodeid=' + NodeId;
    
    setLoadcontentedit();
});


window.onresize = setLoadcontentedit;